package com.llkj.common.observer;

import com.llkj.common.exception.ApiException;

/**
 * author: zhu.px
 * e-mail: 1271901673@qq.com
 * time  : 2018/4/20
 * desc  :
 */
public interface ICallback<T> {

    void doOnStart();

    void doOnNext(T t);

    void doOnCompleted();

    void doOnError(ApiException e);
}
